import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";

export default defineConfig({
  plugins: [react()],
  server: {
    port: 5173
  },
  resolve: {
    // 确保能够解析到根目录的 node_modules（workspaces）
    preserveSymlinks: true,
  }
});
